package com.test.semaphore.more2more;

import com.test.semaphore.MultiDoType;

/**
 * @author:wesley
 */
public class MyThread extends Thread {

    private MultiDoType doType;


    public MyThread(MultiDoType doType){
        this.doType = doType;
    }


    @Override
    public void run() {
        doType.doService();
    }
}
